package cn.iocoder.yudao.module.myerp.controller.admin.SKUproduct.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - ERP SKU级产品新增/修改 Request VO")
@Data
public class ErpProductSkuSaveReqVO {

    @Schema(description = "产品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "15048")
    private Long id;

    @Schema(description = "SKU", requiredMode = Schema.RequiredMode.REQUIRED, example = "15048")
    @NotNull(message = "SKU不能为空")
    private Long sku;

    @Schema(description = "商品条码", example = "0001101101")
    private String barCode;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @NotNull(message = "状态不能为空")
    private Integer status;

    @Schema(description = "尺码", requiredMode = Schema.RequiredMode.REQUIRED, example = "XXL")
    @NotEmpty(message = "尺码不能为空")
    private String standard;

}